package com.lms.service.impl;

import com.lms.mapper.PressInformationMapper;
import com.lms.pojo.PressInformation;

/**
 * @author: gfk
 * @create: 2021/7/13
 * @Description:
 * @FileName: PressInformationMapperServiceImpl
 * @History:
 * @自定义内容：
 **/
public class PressInformationServiceImpl implements PressInformationMapper {

    private PressInformationMapper pressInformationMapper;

    public void setPressInformationMapper(PressInformationMapper pressInformationMapper) {
        this.pressInformationMapper = pressInformationMapper;
    }

    public int deleteByPrimaryKey(Integer pressInformationId) {
        return pressInformationMapper.deleteByPrimaryKey(pressInformationId);
    }

    public int insert(PressInformation record) {
        return pressInformationMapper.insert(record);
    }

    public int insertSelective(PressInformation record) {
        return pressInformationMapper.insertSelective(record);
    }

    public PressInformation selectByPrimaryKey(Integer pressInformationId) {
        return pressInformationMapper.selectByPrimaryKey(pressInformationId);
    }

    public int updateByPrimaryKeySelective(PressInformation record) {
        return pressInformationMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(PressInformation record) {
        return pressInformationMapper.updateByPrimaryKey(record);
    }
}
